package com.yl.common.enums;



/**
 * @author yuyu
 */

public enum YesNoEnum {
    /**
     * 1：是 0：否
     */
    YES(1, "是"),
    NO(0, "否");

    /**
     * code
     */
    private Integer code;
    /**
     * name
     */
    private String name;

    YesNoEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
